package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;
import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shop.cloud.common.mapper.OffsetDateTimeToIso8601Serializer;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * sign_history-sign_history
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class SignHistory extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户id号
	 */
	@ApiModelProperty(value = "用户id号")
	 private Long userId;
	/**
	 * 签到时间
	 */
	@ApiModelProperty(value = "签到时间")
	private Timestamp signTime;
	/**
	 * 签到获得的积分
	 */
	@ApiModelProperty(value = "签到获得的积分")
	 private Integer points;
    
    public SignHistory(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Timestamp getSignTime() {
        return this.signTime;
    }
    
    public void setSignTime(Timestamp signTime) {
        this.signTime = signTime;
    }
    public Integer getPoints() {
        return this.points;
    }
    
    public void setPoints(Integer points) {
        this.points = points;
    }

}